﻿<?xml version="1.0" encoding="utf-8" ?>
<Recipe Name="CreateBitmapStrip" xmlns="http://schemas.microsoft.com/pag/gax-core"
                               xmlns:xi="http://www.w3.org/2001/XInclude" Bound="false">
  <xi:include href="../../Common/CommonTypeAliases.xml"
				xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Types)" />
  <Caption>Create Bitmap Strip</Caption>
  <Description>Create Bitmap Strip</Description>
  <HostData>
    <Icon ID="218" />
    <CommandBar Menu="VSSDKAssistCustomProject"/>
  </HostData>
  <Arguments>
    <xi:include href="../../Common/CommonArguments.xml"
					  xpointer="xmlns(gax=http://schemas.microsoft.com/pag/gax-core) xpointer(/gax:Arguments/gax:Argument)" />
    <Argument Name="VSPackageProject" Type="EnvDTE.Project, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Required="true">
      <ValueProvider Type="VSSDKAssist.Assets.ValueProviders.VisualStudio.CurrentlySelectedProjectValueProvider, VSSDKAssist.Assets"
                     Stage="OnBeginRecipe"/>
    </Argument>
    <Argument Name="IconInfoList" Type="System.Collections.Generic.List`1[[VSSDKAssist.Recipes.CustomProject.CreateBitmapStrip.IconInfo, VSSDKAssist, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6f1eca1fc29e57ea]]" Required="true">
      <ValueProvider Type="VSSDKAssist.Recipes.CustomProject.CreateBitmapStrip.InstanceValueProvider, VSSDKAssist" />
    </Argument>
    <Argument Name="BitmapStripName" Required="true"/>
    <Argument Name="BitmapFileName" Required="true">
      <ValueProvider Type="Evaluator"
               Expression="$(BitmapStripName).bmp"
               Stage="OnBeginRecipe">
        <MonitorArgument Name="BitmapStripName"/>
      </ValueProvider>
    </Argument>
    <Argument Name="BitmapDestinationFolder" Type="EnvDTE.ProjectItem, EnvDTE, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Required="true">
      <ValueProvider Type="VSSDKAssist.Recipes.Common.ValueProviders.ResourcesFolderValueProvider, VSSDKAssist"
                     Stage="OnBeginRecipe"/>
    </Argument>
  </Arguments>
  <GatheringServiceData>
    <Wizard xmlns="http://schemas.microsoft.com/pag/gax-wizards" SchemaVersion="1.0">
      <Pages>
        <Page Type="VSSDKAssist.Recipes.CustomProject.CreateBitmapStrip.CreateBitmapStripCP1, VSSDKAssist"
            Height="200" Width="510">
          <Title>Specify bitmap strip general properties</Title>
          <LinkTitle>Bitmap strip general properties</LinkTitle>
        </Page>
        <Page Type="VSSDKAssist.Recipes.CustomProject.CreateBitmapStrip.CreateBitmapStripCP2, VSSDKAssist"
            Height="200" Width="510">
          <Title>Specify icon list</Title>
          <LinkTitle>Icon list</LinkTitle>
        </Page>
      </Pages>
    </Wizard>
  </GatheringServiceData>
  <Actions CoordinatorServiceType="VSSDKAssist.Recipes.Common.Coordinators.ExecutionProgressCoordinator, VSSDKAssist">
    <Action Name="AddBitmapStrip" Type="VSSDKAssist.Recipes.CustomProject.CreateBitmapStrip.AddBitmapStripAction, VSSDKAssist"
          StatusMessage="Creating bitmap strip"
          WriteMessageToOutputWindow="true">
      <Input Name="IconInfoList" RecipeArgument="IconInfoList"/>      
      <Input Name="BitmapFileName" RecipeArgument="BitmapFileName"/>
      <Input Name="InputProjectItem" RecipeArgument="BitmapDestinationFolder"/>
      <Output Name="ProjectItem" />
    </Action>
    <Action Name="SetBuildAction"
        Type="VSSDKAssist.Assets.Actions.VisualStudio.SetProjectItemBuildAction, VSSDKAssist.Assets"
        BuildAction="prjBuildActionEmbeddedResource">
      <Input Name="ProjectItem" ActionOutput="AddBitmapStrip.ProjectItem"/>
    </Action>
  </Actions>
</Recipe>